package com.shopping.repository;

import com.shopping.Entity.CommentInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;

public interface CommentInfoRepository extends JpaRepository<CommentInfo, Integer> {
    CommentInfo findById(int id);

    @Modifying
    CommentInfo save(CommentInfo commentInfo);
}
